package com.runfast.waimai.dao.model;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class RunfastActivity implements Serializable {
    private Integer id;

    private Integer busId;

    private String busname;

    private Date createTime;

    private Double discount;

    private Date endTime;

    private Double fulls;

    private Double lesss;

    private String name;

    /**
     * 活动内容 1满减  2打折3赠品4特价5满减免运费6优惠券7免部分配送费8新用户立减活动9首单立减活动10商户红包11下单返红包
     */
    private Integer ptype;

    private Date startTime;

    private Integer type;

    private String goodids;

    private String goodsname;

    private Integer agentId;

    private String agentName;

    private Integer stops;

    private String goods;

    private BigDecimal disprice;

    private String stanidsname;

    private Integer deleted;

    /**
     * 是否与其他活动同享
     */
    private Boolean shared;

    /**
     * 生效时间，数字1到7分别对应星期一到星期日，多个逗号分隔
     */
    private String week;

    /**
     * 是否限购
     */
    private Boolean is_limited;

    /**
     * 限购类型（超出后是否允许原价购买0否 1是）
     */
    private Integer limit_type;

    /**
     * 限购数量
     */
    private Integer limit_num;

    /**
     * 代理商补贴费用
     */
    private Double agent_subsidy;

    /**
     * 专区活动名称
     */
    private Integer special_type;

    /**
     * 活动专区名称
     */
    private String special_name;

    /**
     * 红包有效期
     */
    private Integer red_valid_day;

    /**
     * 每个商家每天发放的红包数量
     */
    private Integer red_total_num;

    /**
     * 每人在店内每天限领红包数量
     */
    private Integer red_person_num;

    /**
     * 固定金额或者金额范围（逗号分隔）
     */
    private String red_amount;

    /**
     * 该红包已经被领取的数量
     */
    private Integer red_total_pick_num;

    private Date start1;

    private Date end1;

    private Date start2;

    private Date end2;

    private Date start3;

    private Date end3;

    private String stanids;

    private String special_img;

    /**
     * 是否废弃了
     */
    private Boolean discard;

    private List<RunfastActivityTarget> activityTargetList;

    private static final long serialVersionUID = 1L;

}